package com.ruoyi.project.para.srn.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.ser.Serializers;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * 核算码对象 sm_srn_info
 *
 * @author 彭翔
 * @date 2020-03-14
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Accessors(chain = true)
@TableName(value = "sm_srn_info")
public class SmSrnInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 核算码 */
    @Excel(name = "核算码")
    private String srnInfo;

    /** 销账码类型(0.核算码 1.核算码+序号) */
    @Excel(name = "核算码类型", readConverterExp = "0=核算码,1=核算码+序号")
    private Long srnType;

    /** 控制金额 */
    @Excel(name = "控制金额")
    private Long amount;

    /** 核算码描述 */
    @Excel(name = "核算码描述")
    private String comments;

    /** 账户余额控制方向(1.借方2.贷方) */
    @Excel(name = "账户余额控制方向", readConverterExp = "0=,1=借方,2=贷方")
    private Long balanceType;

    /** 开户层级控制 (1.一级分行 2.二级分行 ) */
    @Excel(name = "开户层级控制",readConverterExp = "0=,1=一级分行,2=二级分行")
    private Long bankType;

    /** 账户借贷控制(1.账户借记控制 2.账户贷记控制 ) */
    @Excel(name = "账户借贷控制",readConverterExp = "0=,1=借方,2=贷方")
    private Long accType;

    /** 业务监督中监督类型定义表 */
    @Excel(name = "监督类型")
    private String auType;

    /** 渠道标示 */
    @Excel(name = "渠道标示")
    private String channel;

    /** 0.在...之间;1不在....之间 */
    @Excel(name = "渠道区间", readConverterExp = "0=,1=在...区间,2=不在...区间")
    private Long flag;

}
